"use strict";
let a = "abc";
a = 123;
a = true;
a = {};
a = [];
a = null;
a = undefined;
a = class {
};
console.log(a);
let b = [];
b.push("abc", 123, true, {}, [], null, undefined, class {
});
console.log(b);
let c = [];
c.push("abc", 123, true, {}, [], null, undefined, class {
});
console.log(c);
class Hd {
    go() {
        console.log("aaa");
    }
}
// 如果hd为any,那它就不是实例化一个Hd了，即使Hd中没有where()也不会报错，编译的时候才报错，所以尽量减少使用any
// const hd:any = new Hd();
// console.log(hd.where());
function sum(a, b) {
    return a + b;
}
// 如果不想让a和b是any类型，打开配置文件中的 "noImplicitAny": true,  会提示报错
console.log(sum(2, 1));
